package com.sxt.bus.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2019-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bus_sales")
public class Sales implements Serializable {


    private static final long serialVersionUID = -4527596059970375274L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    private String paytype;

    private Date salestime;

    private String operateperson;

    private Integer number;

    private String remark;
    /**
     * 总金额
     */
    private Double sumprice;

    private Integer goodsid;

    private Integer ispay;
    private Integer isout;

    private Integer patientid;
    /**
     * 开药天数
     */
    private Integer day;
    /**
     * 开药天数
     */
    private String goodslistnum;
    /**
     * 出库人员
     */
    private String outperson;



    @TableField(exist=false)
    private String patientname;

    @TableField(exist=false)
    private Goods goods;

    @TableField(exist=false)
    private String providername;
    @TableField(exist=false)
    private Integer providerid;
    @TableField(exist=false)
    private String goodstypename;


}
